toMutable

Returns a mutable copy of this vector as a MutableVec1.

Always creates a new instance, even if this vector is already a MutableVec1.

Return

A new MutableVec1 with the same component as this vector.


Returns a mutable copy of this vector as a MutableVec2.

Always creates a new instance, even if this vector is already a MutableVec2.

Return

A new MutableVec2 with the same components as this vector.


Returns a mutable copy of this vector as a MutableVec3.

Always creates a new instance, even if this vector is already a MutableVec3.

Return

A new MutableVec3 with the same components as this vector.